﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpaceGame
{
    class InvalidSpaceShipException : ApplicationException
    {

        public InvalidSpaceShipException()
            : base()
        {
        }

        public InvalidSpaceShipException(string message, Exception innerException = null)
            : base(message, innerException)
        {
        }

        public override string Message
        {
            get
            {
                return "Unable to create new SpaceShip object of the spcified type.";
            }
        }

  
    }
}
